package com.rentplant.mapper;

import com.rentplant.Pojo.admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper  //申明作为底层交互
@Repository
public interface adminMapper {

//    管理员登录
    public List<admin> login(String username);
}
